#define _CRT_SECURE_NO_WARNINGS 1

#include "HashTable.hpp"
#include "UnorderedMap.hpp"
#include "UnorderedSet.hpp"

int main(int, char**, char**)
{
	int arr[] = { 25,24,25,33,7,111,234,67865,8768,132123,323,3232,121,44,55,66,788,333 };

	YX::UnorderedSet<int> s;
	for (auto e : arr)
	{
		s.Insert(e);
	}
	
	YX::UnorderedSet<int>::iterator it = s.begin();

	while (it != s.end())
	{
		cout << *it << endl;
		++it;
	}

	YX::UnorderedSet<int> copy=s;

	/*YX::UnorderedMap<int, int> m;
	for (auto e : arr)
	{
		m[e]++;
	}

	for (auto e : arr)
	{
		m[e]++;
	}

	YX::UnorderedMap<int, int>::iterator it = m.begin();
	while (it != m.end())
	{
		cout << it->first << ":" << it->second << endl;
		++it;
	}

	for (auto e : arr)
	{
		m.Erase(e);
	}*/

	return 0;
}